<template>
  <div>
    <div>该电影的影院情况</div>
  </div>
</template>

<script>
import { filmBuy,cinemaQuery } from "@/model/maizuo";
export default {
  async created() {
    let res = await filmBuy({
      filmId: this.$route.params.id,
      cityId: 440100,
      k: 4973219,
    });
    console.log(res);
    let  defaultCinemas = res.data.data.showCinemas[0]["cinemaList"];

    // let  formData = new FormData();
    // formData.append("cityId",440100);
    // formData.append("cinemaIds",defaultCinemas.join(","));

    let res2  = await cinemaQuery({"cityId":440100,"cinemaIds":defaultCinemas.join(",")})
    console.log(res2);


  },
};
</script>

<style></style>
